package main

import (
	"fmt"
	"ops/lib"
)

func main() {
	intIterator := lib.IteratorForInt([]int{2, 8, 6, 1, 5})
	for intIterator.Iterator.HasNext() {
		fmt.Println(intIterator.Next())
	}

	strIterator := lib.IteratorForStr([]string{"a", "b", "c"})
	for strIterator.Iterator.HasNext() {
		fmt.Println(strIterator.Next())
	}
}
